package com.red.service;

import com.red.entity.User;

import java.util.ArrayList;
import java.util.List;

public interface UserService {
    public boolean add(User user);

    public User selectByAC(String account, String password);

    public User[] selectAllUser(int page, int len, ArrayList<Integer> types);

    public User selectByHouse(int house_id);

    public int getPages(List<Integer> types);

    public int delete(ArrayList<Integer> seq);

    public int update(User user);
}
